export default {
    namespaced: true,
    state: {
        id: 0,
        name: '',
        userInfo: {}
    },
    mutations: {
        updateId (state, id) {
            state.id = id
        },
        updateName (state, name) {
            state.name = name
        },
        updateUserInfo (state, info) {
            state.userInfo = info
        }
    }
}
